Chapter 16: Binding Colors to Points, Lines, Faces, and Coordinates
Table Of Contents
Chapter 16: Binding Colors to Points, Lines, Faces, and Coordinates
Understanding Color Binding
The IndexedLineSet Node Syntax
The IndexedFaceSet Node Syntax
The ElevationGrid Node Syntax
Experimenting with Color Binding
Coloring Points in a Point Set
Figure 16.1
A scatter plot with the points colored using colors from a Color node.
Coloring Polylines in a Line Set
Figure 16.2
A line plot with the polylines colored using colors from a Color node.
Coloring Coordinates in a Line Set
Figure 16.3
A star burst of lines colored using colors from a Color node.
Coloring Faces in a Face Set
Figure 16.4
A book with its faces individually colored using colors from a Color node.
Coloring Coordinates in a Face Set
Figure 16.5
A log and fire using faces colored with colors from a Color node.
Coloring Grid Squares in an Elevation Grid
Figure 16.6
A checkerboard built using elevation-grid squares and colored using colors from a Color node.
Coloring Grid Points in an Elevation Grid
Figure 16.7
A mountain built using elevation-grid points and colored using colors from a Color node.